<a href="<?php echo url('node/add/team');?>">Add Team</a>
<div class="contactsList">
<?php if($data!=NULL): ?>
<table>
    <tr><th>Team Title</th><th>Campaign</th><th>Operation</th></tr>
    <?php foreach($data as $value): ?>
        <tr>
            <td><?php echo $value['name']; ?></td>
            <td><?php echo $value['campaign']; ?></td>
            <td><a href="<?php echo $base_url.'node/'.$value['nid'].'/edit'?>">Edit</a></td>
        </tr>
    <?php endforeach; ?>
</table>
</div>
<?php endif;?>